<form method="post" name="newgroupmember" action="index.php?mode=adminservice&service=add&page=group_members">
<table>
<tr><td><label>Name</label></td><Td><input type="text" name="name"></td></tr>
<tr><td><label>Contact person</label></td><td><input type="text" name="contactperson"></td></tr>
<tr><td><label>Email address</label></td><td><input type="text" name="email"></td></tr>
</table>
<input type="hidden" name="groupid" value="<<$group_id>>">
<button onclick="addNewMember(); return false;">Add new member</button>
</form>

<script>
function addNewMember() {
    submitForm("newgroupmember");
    jQuery("#popup").dialog("close");
    refreshGrid("<<$group_id>>");
}

</script>
